package org.example.network.demo1;

import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;

/**
 * @author Gong.Yang
 */
public class DemoNIOClient {
    public static void main(String[] args) throws Exception{
        SocketChannel sc = SocketChannel.open();
        sc.connect(new InetSocketAddress("127.0.0.1",8888));
        System.out.println("waiting");
    }
}
